package com.im.partchat.bean.request;

import android.support.annotation.StringDef;

import com.im.partchat.http.PageInfo;

/**
 * Created by fzl on 2017/6/28 0028.
 * VersionCode: 1
 * Desc:
 */

public class RequestBean<T> {
    public static final String COLUMN_SY = "sy";//首页
    public static final String COLUMN_XWDT = "xwdt";//党建动态
    public static final String COLUMN_ZSWD = "zswd";//知识问答
    public static final String COLUMN_WKT = "wkt";//
    public static final String COLUMN_DXAL = "dxal";//典型案例
    public static final String COLUMN_QYFC = "qyfc";//企业风采
    public static final String COLUMN_GZPT = "gzpt";//公众平台

    @StringDef({COLUMN_SY,COLUMN_XWDT, COLUMN_ZSWD, COLUMN_WKT, COLUMN_DXAL, COLUMN_QYFC, COLUMN_GZPT})
    public @interface COLUMN {
    }


    private T data;
    private PageInfo pageInfo;
    private String column;

    public String getColumn() {
        return column;
    }

    public void setColumn(@RequestBean.COLUMN String column) {
        this.column = column;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public PageInfo getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }


}
